package cn.tta.service;

import cn.tta.common.result.PageResult;
import cn.tta.pojo.dto.EmployeeDTO;
import cn.tta.pojo.dto.EmployeeLoginDTO;
import cn.tta.pojo.dto.EmployeePageQueryDTO;
import cn.tta.pojo.entity.Employee;

public interface EmployeeService {

    Employee login(EmployeeLoginDTO employeeLoginDTO);

    void save(EmployeeDTO employeeDTO);

    PageResult page(EmployeePageQueryDTO employeePageQueryDTO);

    void startOrStop(Integer status, Long id);

    Employee getById(Long id);

    void update(EmployeeDTO employeeDTO);
}
